package com.mini.framework.db.dbutil;

public enum DBEnum {
	
	MYSQL("mysql"),
	ORACLE("oracle");
	
	String name;
	
	DBEnum(String name){
		this.name = name;
	}
	
	public static DBEnum getDB(String type){
		if(type.equalsIgnoreCase("mysql")){
			return MYSQL;
		}else if(type.equalsIgnoreCase("oracle")){
			return ORACLE;
		}else{
			return MYSQL;
		}
	}

}
